package com.fjl.pojo.po;

import java.time.LocalDateTime;

public class AbpmRunTaskPO {
    private String id; // 对应数据库字段 `ID`
    private String name; // 对应数据库字段 `NAME`
    private String procDefId; // 对应数据库字段 `PROC_DEF_ID`
    private String executionId; // 对应数据库字段 `EXECUTION_ID`
    private LocalDateTime createTime; // 对应数据库字段 `CREATE_TIME`
    private String processInstanceId; // 对应数据库字段 `PROCESS_INSTANCE_ID`
    private String parentTaskId; // 对应数据库字段 `PARENT_TASK_ID`
    private String moduleName; // 对应数据库字段 `MODULE_NAME`
    private String rootProcessId; // 对应数据库字段 `ROOT_PROCESS_ID`

    public AbpmRunTaskPO(String id, String name, String procDefId, String executionId, LocalDateTime createTime, String processInstanceId, String parentTaskId, String moduleName, String rootProcessId) {
        this.id = id;
        this.name = name;
        this.procDefId = procDefId;
        this.executionId = executionId;
        this.createTime = createTime;
        this.processInstanceId = processInstanceId;
        this.parentTaskId = parentTaskId;
        this.moduleName = moduleName;
        this.rootProcessId = rootProcessId;
    }

    // Getter 和 Setter 方法
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProcDefId() {
        return procDefId;
    }

    public void setProcDefId(String procDefId) {
        this.procDefId = procDefId;
    }

    public String getExecutionId() {
        return executionId;
    }

    public void setExecutionId(String executionId) {
        this.executionId = executionId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getParentTaskId() {
        return parentTaskId;
    }

    public void setParentTaskId(String parentTaskId) {
        this.parentTaskId = parentTaskId;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public String getRootProcessId() {
        return rootProcessId;
    }

    public void setRootProcessId(String rootProcessId) {
        this.rootProcessId = rootProcessId;
    }
}
